package com.rentong.cust.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.rentong.common.annotation.Excel;
import com.rentong.common.core.domain.BaseEntity;

/**
 * 区域名称表对象 sys_region
 * 
 * @author ruoyi
 * @date 2024-12-30
 */
public class SysRegion extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 维修区域的id */
    private Long regionId;

    /** 维修区域的名称 */
    @Excel(name = "维修区域的名称")
    private String regionName;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date addTime;

    public void setRegionId(Long regionId) 
    {
        this.regionId = regionId;
    }

    public Long getRegionId() 
    {
        return regionId;
    }
    public void setRegionName(String regionName) 
    {
        this.regionName = regionName;
    }

    public String getRegionName() 
    {
        return regionName;
    }
    public void setAddTime(Date addTime) 
    {
        this.addTime = addTime;
    }

    public Date getAddTime() 
    {
        return addTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("regionId", getRegionId())
            .append("regionName", getRegionName())
            .append("updateTime", getUpdateTime())
            .append("addTime", getAddTime())
            .toString();
    }
}
